package org.water.sys.entity;
// Generated 2016-3-4 13:17:55 by Hibernate Tools 3.2.2.GA

import java.util.Date;

import javax.persistence.Cacheable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.water.base.entity.IdEntity;

/**
 * 
 * @author qzy
 *
 */
@Cacheable
@Entity
@Table(name="sys_org")
public class SysOrg extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -9194330177847558743L;

	/** 
	 * 组织机构名称.
	 */
	@Column(name="org_name")
	private String orgName;

	/** 
	 * 上级组织机构,如果没有则为空.
	 */
	@Column(name="parent_org_id")
	private String parentOrgId;

	/** 
	 * 备注.
	 */
	@Column(name="remark")
	private String remark;

	/** 
	 * 0-正常，1-删除.
	 */
	@Column(name="del_status")
	private Integer delStatus;

	/** 
	 * 创建人.
	 */
	@Column(name="create_user")
	private String createUser;

	/** 
	 * 创建时间.
	 */
	@Column(name="create_date")
	private Date createDate;

	public SysOrg() {
	}

	public String getOrgName() {
		return this.orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getParentOrgId() {
		return this.parentOrgId;
	}

	public void setParentOrgId(String parentOrgId) {
		this.parentOrgId = parentOrgId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getDelStatus() {
		return this.delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}
